// 入口文件
import Vue from 'vue'
// 按需导入mint-ui
import { Header,Swipe, SwipeItem } from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.component(Header.name,Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)
// 导入mui
import './lib/mui/css/mui.css'
import './lib/mui/css/icons-extra.css'
// 导入路由
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import router from './router.js'
// 导入vue-resource 
import VueRseource from 'vue-resource'
Vue.use(VueRseource)
// 导入app组件
import app from './App.vue'
var vm = new Vue({
    el : '.app',
    render : c => c(app),
    router
})